import requests from './request.js'

// 获取评论列表
export function getCommentList(query, searchCommentForm) {
	return requests({
		url: '/system/video/comment/getCommentsData',
		method: 'get',
		params: {
			...query,
			...searchCommentForm
		}
	})
}

// 删除评论
export function deleteComment(cid, isReply) {
	return requests({
		url: '/system/video/comment/deleteComment/' + cid,
		method: 'delete',
		params: {
			isReply
		}
	})
}
